package com.luoran.car.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.luoran.car.domain.Syscustomer;
import com.luoran.car.service.SyscustomerService;
import com.luoran.car.mapper.SyscustomerMapper;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
* @author A
* @description 针对表【SYSCUSTOMER(客户表)】的数据库操作Service实现
* @createDate 2024-09-17 21:26:27
*/
@Service
public class
SyscustomerServiceImpl extends ServiceImpl<SyscustomerMapper, Syscustomer>
    implements SyscustomerService{

    @Override
    public List<Syscustomer> customerList(Syscustomer syscustomer) {
        return baseMapper.customerList(syscustomer);
    }

    @Override
    public void add(Syscustomer syscustomer) {
        baseMapper.add(syscustomer);
    }

    @Override
    public List<Map<String, String>> customerZxt() {
        return baseMapper.customerZxt();
    }

    @Override
    public boolean updateById(Integer customerId) {
        return baseMapper.updateById(customerId);
    }

    @Override
    public Syscustomer getSearch(Integer customerId) {
        return baseMapper.getSearch(customerId);
    }
}




